home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
RATMAN03.422
< prev
next >
Wrap
Text File
|
1993-02-20
|
3KB
|
89 lines
Fix for RATMAN03.MOD... RATMAN3F.MOD.. Please delete old one
Rat Man #1 @6255
Sun Feb 14 13:37:24 1993
┌───────────────────────────────────────────────────────────────────────┐
│ Mod Name : RATMAN3F.MOD │
│ Mod Author : RAT MAN 1@6255 IceNet, 1@1 RATnet │
│ Difficulty : <YAWN> │
│ WWIV Version : 4.22 │
│ Date : Friday, February 12, 1993 9:12 PM │
│ Files Affected : LILO.C │
│ Description : Shows the City, State, and Country in the LASTON.TXT │
│ and USER.LOG last few callers logs. It actually │
│ surprised me that it wasn't built into stock WWIV in │
│ version 4.22, with the extended info and all. This │
│ is the fixed version. What the first version did │
│ wrong is in the LASTON.TXT it would only show the │
│ FROM: line for the last person on the list. The │
│ USER.LOG worked fine though. │
└───────────────────────────────────────────────────────────────────────┘
DISCLAIMER:
If this modification should be applied and result in any
undesired effects, as expresed in section 137826893568.472468248a
of the rules governing MOD files for WWIV and other such lawyer
technobabble, I will not be responsible.
1. BACK UP SOURCE
2. Load LILO.C
3. <FIXED STEP> Change the following:
sprintf(s,"%ld: %s %s %s %s - %d",
status.callernum1,
nam(&thisuser,usernum),
times(),
date(),
curspeed,
thisuser.ontoday);
sprintf(s2,"%sLASTON.TXT",syscfg.gfilesdir);
ss=get_file(s2,&len);
To read as follows:
sprintf(s,"5%ld: 2%s of %s, %s, %s 3- 1%s %s 7%s 3- 7%d",0
status.callernum1,
nam(&thisuser,usernum),
thisuser.city,
thisuser.state,
thisuser.country,
times(),
date(),
curspeed,
thisuser.ontoday);
sprintf(s2,"%sLASTON.TXT",syscfg.gfilesdir);
ss=get_file(s2,&len);
NOTE: I changed this so that it will appear in color. You can change it to
use different colors, or colors 8 and 9, or take out the color
altogether, it won't matter. Same goes for the next step.
4. <FIXED STEP> Change the following:
sprintf(s,"%ld: %s %s - %d\r\n",
status.callernum1,
nam(&thisuser,usernum),
curspeed,
thisuser.ontoday);
sprintf(s1,"%sUSER.LOG",syscfg.gfilesdir);
To read as follows:
sprintf(s,"5%ld: 2%s of %s, %s, %s 3- 1%s 3- 7%d\r\n",0
status.callernum1,
nam(&thisuser,usernum),
thisuser.city,
thisuser.state,
thisuser.country,
curspeed,
thisuser.ontoday);
sprintf(s1,"%sUSER.LOG",syscfg.gfilesdir);
5. Recompile and enjoy thoroughly!
Call RAT LAND BBS - (612) 647-9530 - 14,400 BPS - Practical Peripherals
PM14400FXSA - 250 MEGABYTES ONLINE STORAGE! IceNet 1@6255, RATnet 1@1